package com.demo;

public class MyPojo2 {
	
	private int x;
	private int y;
	public int getX() {
		return x;
	}
	public int getY() {
		return y;
	}
	public void setX(int x) {
		this.x = x;
	}
	public void setY(int y) {
		this.y = y;
	}
	
	
	
	public void initPojo(){
		System.out.println("Mypojo 2class init pojo is called");
	}
	
	public void destroyPojo(){
		System.out.println("Mypojo 2 destroy pojo is called...");
	}
	

}
